package com.yn.courseselectionsystem.dao;

import com.yn.courseselectionsystem.pojo.Teacher;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface TeacherDao {
    @MapKey("id")
    Map<Integer, Teacher> selTeacherMapAll();

    List<Teacher> selTeacherAll();
}
